package com.ml.mall.bean.res.coupon;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 *   @description    :description 
 *   @author         :zxm
 *   @date           :2021/5/21
 *   @version        :1.0
**/
@Data
@ApiModel(value = "优惠券查询响应Model")
public class CouponQueryInfoRes {

    private Long id;

    @ApiModelProperty(value = "优惠券名称")
    private String couponName;

    @ApiModelProperty(value = "优惠券类别")
    private Integer couponClass;

    private String couponCode;

    @ApiModelProperty(value = "优惠券类型")
    private Integer couponType;

    @ApiModelProperty(value = "优惠券金额")
    private BigDecimal couponMoney;

    @ApiModelProperty(value = "优惠券数量")
    private Integer amount;

    @ApiModelProperty(value = "优惠券使用数量")
    private Integer useAmount;

    @ApiModelProperty(value = "优惠券最低限制")
    private BigDecimal lowLimitMoney;

    @ApiModelProperty(value = "优惠券最高限制")
    private BigDecimal topLimitMoney;

    @ApiModelProperty(value = "优惠券开始时间")
    private Date timeBegin;

    @ApiModelProperty(value = "优惠券结束时间")
    private Date timeEnd;

    @ApiModelProperty(value = "优惠券优惠描述")
    private String description;

    @ApiModelProperty(value = "优惠券状态：0正常；1下线")
    private Integer state;


    @ApiModelProperty(value = "优惠券是否互斥  0是；1否")
    private Integer mutualType;


    @ApiModelProperty(value = "承担者：0：系统承担；1：商家承担")
    private Integer bearer;

    @ApiModelProperty(value = "使用限制")
    private Integer usageLimitNum;

    @ApiModelProperty(value = "优惠券相关联")
    private CouponRelationRes couponRelationRes;
}
